<div class="hold-transition login-page">
  <div class="login-box">
    <div class="login-logo">
      <a routerLink="/"><b>Link</b>IOT</a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
      <p class="login-box-msg">登录后台管理</p>

      <div class="form-group has-feedback">
        <input #email type="email" class="form-control" placeholder="Email">
        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <input #password type="password" class="form-control" placeholder="Password">
        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
      </div>
      <div class="row">
        <div class="col-xs-4">
          <button class="btn btn-info btn-block btn-flat" (click)="login('test@hdussta.cn','888888')">测试登录</button>
        </div>
        <!-- /.col -->
        <div class="col-xs-push-4 col-xs-4">
          <button type="submit" class="btn btn-primary btn-block btn-flat" (click)="login(email.value,password.value)">登录</button>
        </div>
        <!-- /.col -->
      </div>
    </div>
    <!-- /.login-box-body -->
  </div>
</div>
